home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
bbs
/
msrch11.zip
/
SAMPLE2.CFG
< prev
next >
Wrap
Text File
|
1996-07-07
|
8KB
|
176 lines
Sample MULTSRCH.CFG
(Document Menu Configuration File)
Unregistered <--------------------- Your name
0 <-------------------------------- Registration code
3 <------------------------------- Number of available files
28 <------------------------------- Number of files per page in menu
DSZ <------------------------------ Select download protocol
c:\pcb\node1\caller <-------------- Path to file
Node 1 Caller Log (Sysop Only) <--- Menu title
100 <------------------------------ Security to access file
1 <-------------------------------- Category number
c:\text\gamefaqs.txt
`BRIGHT RED`Game FAQ Sheet
0
2
c:\pcb\node1\newreg.txt
Questionaire Results (Sysop Only)
100
3
------------------------------------------------------------------------------
NOTE: Although you can edit this file manually, MULTEDIT.EXE is included and
provides menu driven editing capability. It will automatically keep track of
and update the number of documents you have available. However, if for some
reason you need to manually edit the file, the following explanation of each
line will help you do this.
------------------------------------------------------------------------------
*** Quick explanation of the above configuration ***
In this sample configuration three files will be made available for viewing or
searching and will be placed in categories 1, 2, and 3, respectively.
Files one and three require a high level of security to access, such as a
sysop or co-sysop might have. The second file will be available to all. In
this configuration up to 28 file titles will be displayed on a single page if
more are added to the list.
Download capability is enabled using DSZ.
==============================================================================
*** IMPORTANT ***
The third line MUST contain the EXACT number of files which you plan to
have available in the menu! No more, no less.
Do NOT skip any lines or add spaces between lines.
==============================================================================
FIRST 5 LINES OF ABOVE EXAMPLE:
Line 1:
The EXACT name you put on your registration form. This MUST include
any spaces or special characters and is case sensitive! This line has
no effect in the unregistered version, but must contain something.
Line 2:
The registration number. If this version has not been registered then
it should be zero.
Line 3:
The EXACT number of files that you wish to make available in the
system. Maximum of 225. You must change this number every time you add
or remove files. Specifying more files than you have available will
cause unpredictable (read that UNPLEASANT!) results. MULTEDIT.EXE will
update this value automatically as entries are added or deleted.
Line 4:
Number of files you wish to display on each page. The maximum number
is 28, and this is the recommended value. If you specify more than 28
files per page the system will limit you to 28. This is to allow room
at the bottom for menu choices. This option affects graphics mode
only.
Line 5:
Enable download capability by entering DSZ, GSZ, or FDSZ here. Disable
by entering NO. Text must be exact and is case specific. The prompt
will either show the user an option to download or not, depending on
what you specify here. When creating MULTSRCH.CFG with the editor for
the first time the default is NO.
FILE INFORMATION IN THE ABOVE EXAMPLE:
Now enter the information for each file you wish to make available. It takes
four lines to fully describe each one, and you must not skip or omit any
lines. The example configuration above specifies three files, the first and
third set to a high security level so that only the sysop or co-sysop has
access. The second file is available to anyone.
First Line:
The complete path to the file, including the file name. The path,
including file name, must be 80 characters or less. To view the file
as an ANSI graphics file the file name must include ".ANS". Otherwise
the file is assumed to be ASCII text and will be treated accordingly.
Second Line:
The name you wish to have displayed in the menu. In the second example
above you will see `BRIGHT RED` included in the file name. This will
cause the color of this title to be bright red instead of the default
yellow. See the section on color customization below for more details.
You should keep the number of displayed characters to 34 or less. You
are limited to a total of 80 characters for the whole description
including color info (which is not actually displayed in the menu).
Third Line:
The security level required to access the file. Use this to give
special clearance to files such as caller logs, etc., that you might
not want everyone to see. Security levels equal to or greater than
this value will have clearance.
Fourth Line:
The category number in which you wish the file to appear. If you are
not using the optional category menu, then any number from 1 to 20
should be put here. If you later decide to add categories and create
MAIN.CFG, the number you have entered on this line will be the number
of the category in which the document will be displayed. When you
create MAIN.CFG you will list the category names you wish to use.
Count down the list and put the number of the category here, on the
fourth line of the file description. In the above example the second
file is associated with category 2, "Gaming Information", defined in
SAMPLE1.CFG. (This would be MAIN.CFG for a real installation).
COLOR CUSTOMIZATION:
You may change the color of the file listing text by including special
delimited text in the description on line 2 of the file entry. (See the second
file entry in the example.) To change the color attributes of a file name in
the listing you simply use the backwards apostrophe (`) as a delimiter. Be
careful not to use the regular apostrophe (') instead! This will not work.
Here is a list of the "special text" that you can include in the file name to
change the colors.
BLACK
BLUE
GREEN
CYAN
RED
MAGENTA
BROWN
WHITE (gray)
BRIGHT BLACK (dark gray)
BRIGHT BLUE
BRIGHT GREEN
BRIGHT CYAN
BRIGHT RED
BRIGHT MAGENTA
BRIGHT YELLOW
BRIGHT WHITE (white)
Additionally you may make the characters flash by including FLASHING before
the color. You may also change the background with the ON keyword (ON is
actually optional, but I like it because it's easier to read the color
instructions). Here are some examples on how to use colors.
1) Change foreground color of text to bright blue:
`BRIGHT BLUE`This is a test
Changes the entire string to bright blue on a black background.
2) Change foreground color to dark red on a yellow background.
`RED ON BRIGHT YELLOW`This is a test
Changes the entire string to red on a yellow background.
It could also be written as:
`RED BRIGHT YELLOW`This is a test
Note the elimination of the optional ON.
3) Use flashing text and change background and foreground colors.
`FLASHING RED ON BRIGHT YELLOW'This is a test
Changes entire string to flashing red on a yellow background.
4) Mix and match.
`BRIGHT RED`This is a `FLASHING BRIGHT GREEN`test
First three words are bright red on black. "test" is flashing bright green on
black background.
Experiment and have some fun!